/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    Navigator
} from 'react-native';

var   LaunchImage = require('./Compnonet/Main/WYMLauncImage');


class  WYM_dianshang extends  Component {
  render(){
    return(
        <Navigator
            initialRoute={{name:'启动页面',component:LaunchImage}}
            configureScene={()=>{
                return Navigator.SceneConfigs.PushFromRight;
            }}
            renderScene={(route,navigator)=>{
                let Component = route.component;
                return <Component {...route.passProps} navigator={navigator}/>
            }}
            >

        </Navigator>
    );
  }
}

AppRegistry.registerComponent('WYM_dianshang', () => WYM_dianshang);
